<%@ Page Language="C#" MasterPageFile="~/MasterPages/Default.Master" AutoEventWireup="true" CodeBehind="Error.aspx.cs" Inherits="Mindscape.BackgroundMotion.Website.Error" Title="Error" %>
<asp:Content ContentPlaceHolderID="BodyContent" runat="server">
  <h1>Whoops!</h1>
  <asp:PlaceHolder ID="Error404" runat="server" Visible="false">
  <p>The page you are looking for does not exist.</p>
  </asp:PlaceHolder>
  <asp:PlaceHolder ID="Error500" runat="server" Visible="false">
  <p>A server error occurred. We apologise for the inconvenience.</p>
  <p><a href="/">To return to Background Motion click here</a></p>
  </asp:PlaceHolder>
  
  <mindscape:WebDataBinder runat="server" ID="DataBinder">
  <BindingItems>
    <mindscape:WebDataBindingItem runat="server" BindingMode="OneWay" BindingSource="this" BindingSourceMember="Show404" TargetControl="Error404" TargetControlProperty="Visible"/>        
    <mindscape:WebDataBindingItem runat="server" BindingMode="OneWay" BindingSource="this" BindingSourceMember="Show500" TargetControl="Error500" TargetControlProperty="Visible"/>  
  </BindingItems>
</mindscape:WebDataBinder>
</asp:Content>
